<template>
      <div class="tabdiv" style="width:89%;margin-left:2%;background: #e3e8ee;padding:16px;">
            <Tabs type="card" value="专技资格">
                  <TabPane label="专技资格" name="专技资格" class="tabdiv1">
                        <technical-qualifications :teacher_id="teacher_id" :user_id="user_id"></technical-qualifications>
                  </TabPane>
                  <TabPane label="职(执)业资格" name="职(执)业资格" class="tabdiv1">
                        <job-qualification :teacher_id="teacher_id" :user_id="user_id"></job-qualification>

                  </TabPane>
                  <TabPane label="学习经历" name="学习经历" class="tabdiv1">
                        <Row>
                              <Col style="height: 250px;">
                                    <learning-experience :teacher_id="teacher_id" :user_id="user_id"></learning-experience>
                              </Col>
                        </Row>
                        <Row>
                              <Col style="height: 250px;">
                                    <learning-experience-postdoctoral :teacher_id="teacher_id" :user_id="user_id"></learning-experience-postdoctoral>
                              </Col>
                        </Row>
                  </TabPane>

                  <TabPane label="工作经历" name="工作经历" class="tabdiv1">

                        <work-experience :teacher_id="teacher_id" :user_id="user_id"></work-experience>

                  </TabPane>

                  <TabPane label="获奖情况" name="获奖情况" class="tabdiv1">
                        <awards :teacher_id="teacher_id" :user_id="user_id"></awards>

                  </TabPane>

                  <TabPane label="荣誉称号" name="荣誉称号" class="tabdiv1">
                        <teacher-honor :teacher_id="teacher_id" :user_id="user_id"></teacher-honor>

                  </TabPane>
                  <TabPane label="外语" name="外语" class="tabdiv1">
                        <foreign-language :teacher_id="teacher_id" :user_id="user_id"></foreign-language>

                  </TabPane>
                  <TabPane label="培训情况" name="培训情况" class="tabdiv1">
                        <training-situation :teacher_id="teacher_id" :user_id="user_id"></training-situation>


                  </TabPane>
                  <TabPane label="论文" name="论文" class="tabdiv1">
                        <paper :teacher_id="teacher_id" :user_id="user_id"></paper>

                  </TabPane>

                  <TabPane label="获得授权专利" name="获得授权专利" class="tabdiv1">
                        <patents :teacher_id="teacher_id" :user_id="user_id"></patents>

                  </TabPane>

                  <TabPane label="论著和译著" name="论著和译著" class="tabdiv1">
                        <translation :teacher_id="teacher_id" :user_id="user_id"></translation>

                  </TabPane>

                  <TabPane label="承担课题项目" name="承担课题项目" class="tabdiv1">
                        <project-topic :teacher_id="teacher_id" :user_id="user_id"></project-topic>
                  </TabPane>
                  <TabPane label="博导" name="博导" class="tabdiv1">
                        <ph-d :teacher_id="teacher_id" :user_id="user_id"></ph-d>
                  </TabPane>
                  <TabPane label="现单位情况" name="现单位情况" class="tabdiv1">
                        <current-unit :teacher_id="teacher_id" :user_id="user_id"></current-unit>
                  </TabPane>
                  <TabPane label="专技工作经历" name="专技工作经历" class="tabdiv1">
                        <technical-work-experience :teacher_id="teacher_id" :user_id="user_id"></technical-work-experience>
                  </TabPane>
                  <TabPane label="护照管理" name="护照管理" class="tabdiv1">
                        <passport-management :teacher_id="teacher_id" :user_id="user_id"></passport-management>
                  </TabPane>
            </Tabs>
      </div>
</template>

<script>

  export default {
      props: {
            teacher_id: {
                  type: [Boolean,String,Number],
                  default: false
            },
            user_id: {
                  type: [Boolean,String,Number],
                  default: false
            }
      },
      components: {
            // 专技资格
            TechnicalQualifications: resolve => {require(['../Public/TechnicalQualifications/TechnicalQualifications.vue'], resolve);},
            
            // 职业资格
            JobQualification: resolve => {require(['../Public/JobQualification/JobQualification.vue'], resolve);},
            
            // 工作经历
            WorkExperience: resolve => {require(['../Public/WorkExperience/WorkExperience.vue'], resolve);},
            
            // 获奖情况
            Awards: resolve => {require(['../Public/Awards/Awards.vue'], resolve);},

            // 外语
            ForeignLanguage: resolve => {require(['../Public/ForeignLanguage/ForeignLanguage.vue'], resolve);},
      
            // 培训情况
            TrainingSituation: resolve => {require(['../Public/TrainingSituation/TrainingSituation.vue'], resolve);},
      
            // 论文
            Paper: resolve => {require(['../Public/Paper/Paper.vue'], resolve);},

            // 获得授权专利
            Patents: resolve => {require(['../Public/Patents/Patents.vue'], resolve);},

            // 论著和译著
            Translation: resolve => {require(['../Public/Translation/Translation.vue'], resolve);},

            // 承担课题项目
            ProjectTopic: resolve => {require(['../Public/ProjectTopic/ProjectTopic.vue'], resolve);},

            // 学术团体任职情况
            AcademicGroups: resolve => {require(['../Public/AcademicGroups/AcademicGroups.vue'], resolve);},
      
            // 兼职
            PartTime: resolve => {require(['../Public/PartTime/PartTime.vue'], resolve);},
            
            // 留学情况
            StudyAbroad: resolve => {require(['../Public/StudyAbroad/StudyAbroad.vue'], resolve);},
                  
            // 获得资助情况
            Funding: resolve => {require(['../Public/Funding/Funding.vue'], resolve);},
      
            // 展出和表演
            Performance: resolve => {require(['../Public/Performance/Performance.vue'], resolve);},
      
            // 教师荣誉
            TeacherHonor: resolve => {require(['../Public/TeacherHonor/TeacherHonor.vue'], resolve);},
            
            // 学习经历
            LearningExperience: resolve => {require(['../Public/LearningExperience/LearningExperience.vue'], resolve);},
            
            // 学习经历（博士后）
            LearningExperiencePostdoctoral: resolve => {require(['../Public/LearningExperiencePostdoctoral/LearningExperiencePostdoctoral.vue'], resolve);},
      
            // 团队建设
            TeamBuilding: resolve => {require(['../Public/TeamBuilding/TeamBuilding.vue'], resolve);},
      
            // 博导
            PhD: resolve => {require(['../Public/PhD/PhD.vue'], resolve);},


            // 现单位情况
            CurrentUnit: resolve => {require(['../Public/CurrentUnit/CurrentUnit.vue'], resolve);},
      
            // 专技工作经历
            TechnicalWorkExperience: resolve => {require(['../Public/TechnicalWorkExperience/TechnicalWorkExperience.vue'], resolve);},
      
            // 护照
            PassportManagement: resolve => {require(['../Public/PassportManagement/PassportManagement.vue'], resolve);},
      },
  }
</script>
<style lang="less">
.tabdiv{
      .tabdiv1{
            height: 500px;
      }
}
</style>
